#include "ToolButtonIconArrowEntirety.hpp"
using namespace ribbonStyleControls::Controls;
ToolButtonIconArrowEntirety::ToolButtonIconArrowEntirety( QString iconPath, QWidget* parent)
	:ToolButtonLeftRigthEntirety("",iconPath,parent){}

QRect ToolButtonIconArrowEntirety::textRect()
{
	return QRect();
}


QRect ToolButtonIconArrowEntirety::iconRect()
{
	auto trc = ToolButtonLeftRight::rectup();
	int x = trc.x() + 2;
	int y = trc.y() + 2;
	int w = m_iconw;
	int h = m_iconw;
	return QRect(x, y, w, h);
}
